Platform Explorer / Nuxeo Platform LTS 2015 7.10

Contribution org.nuxeo.admin.pageproviders--providers

This contribution is part of XML component org.nuxeo.admin.pageproviders inside nuxeo-admin-center-7.10-HF07.jar /OSGI-INF/pageproviders-contrib.xml

Extension Point

Extension point providers of component PageProviderService.

Contributed Items

  • <genericPageProvider class="org.nuxeo.ecm.platform.query.nxql.CoreQueryAndFetchPageProvider" name="permissions_purge">
          <whereClause docType="PermissionsSearch">
            <fixedPart statement="SELECT ecm:uuid, dc:title, ecm:acl/*1/principal, ecm:acl/*1/creator, ecm:acl/*1/permission, ecm:acl/*1/begin, ecm:acl/*1/end FROM Document">
              ecm:mixinType != 'HiddenInNavigation'
              AND ecm:isCheckedInVersion = 0
              AND SORTED_COLUMN IS NOT NULL
            </fixedPart>
            <predicate operator="IN" parameter="ecm:acl/*1/principal">
              <field name="ace_username" schema="permissions_search"/>
            </predicate>
            <predicate operator="IN" parameter="ecm:ancestorId">
              <field name="ecm_ancestorIds" schema="permissions_search"/>
            </predicate>
          </whereClause>
          <pageSize>20</pageSize>
          <sort ascending="true" column="dc:title"/>
        </genericPageProvider>
  • <coreQueryPageProvider name="permissions_search_folders">
          <pattern escapeParameters="true" quoteParameters="false">
            SELECT * FROM Document WHERE dc:title LIKE '?%' AND ecm:mixinType = 'Folderish'
            AND ecm:mixinType != 'HiddenInNavigation' AND ecm:isCheckedInVersion = 0 AND
            ecm:currentLifeCycleState != 'deleted'
          </pattern>
          <pageSize>10</pageSize>
        </coreQueryPageProvider>

XML Source

<extension point="providers" target="org.nuxeo.ecm.platform.query.api.PageProviderService">

    <genericPageProvider class="org.nuxeo.ecm.platform.query.nxql.CoreQueryAndFetchPageProvider" name="permissions_purge">
      <whereClause docType="PermissionsSearch">
        <fixedPart statement="SELECT ecm:uuid, dc:title, ecm:acl/*1/principal, ecm:acl/*1/creator, ecm:acl/*1/permission, ecm:acl/*1/begin, ecm:acl/*1/end FROM Document">
          ecm:mixinType != 'HiddenInNavigation'
          AND ecm:isCheckedInVersion = 0
          AND SORTED_COLUMN IS NOT NULL
        </fixedPart>
        <predicate operator="IN" parameter="ecm:acl/*1/principal">
          <field name="ace_username" schema="permissions_search"/>
        </predicate>
        <predicate operator="IN" parameter="ecm:ancestorId">
          <field name="ecm_ancestorIds" schema="permissions_search"/>
        </predicate>
      </whereClause>
      <pageSize>20</pageSize>
      <sort ascending="true" column="dc:title"/>
    </genericPageProvider>

    <coreQueryPageProvider name="permissions_search_folders">
      <pattern escapeParameters="true" quoteParameters="false">
        SELECT * FROM Document WHERE dc:title LIKE '?%' AND ecm:mixinType = 'Folderish'
        AND ecm:mixinType != 'HiddenInNavigation' AND ecm:isCheckedInVersion = 0 AND
        ecm:currentLifeCycleState != 'deleted'
      </pattern>
      <pageSize>10</pageSize>
    </coreQueryPageProvider>

  </extension>